home *** CD-ROM | disk | FTP | other *** search
/ No Fragments Archive 12: Textmags & Docs / nf_archive_12.iso / MAGS / SOURCES / ATARI_SRC.ZIP / atari source / PART_F / VIEWMAN / WINDOWS.H < prev    next >
Encoding:
C/C++ Source or Header  |  2001-02-10  |  1.3 KB  |  53 lines

  1. /* PROTOTYPES
  2.  * ================================================================
  3.  */
  4. void slider_chk( void );
  5. int  scale( int visible, int factor, int total );
  6. void sliderv( void );
  7. void sliderh( void );
  8.  
  9. void nada( void );
  10. void wupline( void );
  11. void wdnline( void );
  12. void wrtline( void );
  13. void wlfline( void );
  14.  
  15. void Set_Window_To_Size( int width, int height );
  16. void SetDave_Stuff( int handle );
  17. int  GetTopWindow( void );
  18. void do_arrow_buttons( int key );
  19.  
  20.  
  21. /* DEFINE
  22.  * ================================================================
  23.  */
  24. #define NO_WINDOW   ( -1 )
  25. #define WORLD       0
  26. #define LIBRARY       1
  27.  
  28. typedef struct _wdata
  29. {
  30.     int xoffset;        /* Xoffset in window (pixels ) */
  31.     int yoffset;        /* Yoffset in window (pixels ) */
  32.     unsigned int w_wid;        /* Width of form           */
  33.     unsigned int w_hite;    /* Height of form           */
  34.     GRECT  w;            /* GRECT of work window           */
  35. }WDATA;
  36.  
  37.  
  38.  
  39. /* EXTERN
  40.  * ================================================================
  41.  */
  42. extern WINFO  w;        /* WORLD FORM Window structure  */
  43. extern WINFO  l;
  44.  
  45. extern WINFO *window[];        /* Window array            */
  46. extern GRECT Grid;
  47. extern WDATA wstruct[];            /* Array data Cary<->Dave which 
  48.                      * replaces the globals defined
  49.                      * for the same info.
  50.                      */
  51.  
  52.  
  53.